home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 September (IDG) / Sep99.iso / Serious Software / POV-Ray 3.1 / Scenes / incdemo / colors.pov < prev    next >
Encoding:
Text File  |  1998-01-21  |  9.1 KB  |  713 lines  |  [TEXT/POV3]

  1. // Persistence Of Vision raytracer version 3.1 sample file.
  2. // By Chris Young & Dan Farmer
  3. // Illustrates many of the colors in standard include file "colors.inc"
  4.  
  5.  
  6. global_settings { assumed_gamma 2.2 }
  7.  
  8. #include "colors.inc"
  9.  
  10. #declare Col0 = -36;
  11. #declare Col1 = -30;
  12. #declare Col2 = -24;
  13. #declare Col3 = -18;
  14. #declare Col4 = -12;
  15. #declare Col5 = -6;
  16. #declare Col6 = 0;
  17. #declare Col7 = 6;
  18. #declare Col8 = 12;
  19. #declare Col9 = 18;
  20. #declare Col10 = 24;
  21. #declare Col11 = 30;
  22. #declare Col12 = 36;
  23.  
  24. #declare Row1 = 24;
  25. #declare Row2 = 18;
  26. #declare Row3 = 12;
  27. #declare Row4 = 6;
  28. #declare Row5 = 0;
  29. #declare Row6 = -6;
  30. #declare Row7 = -12;
  31. #declare Row8 = -18;
  32. #declare Row9 = -24;
  33. #declare Row10 = -30;
  34.  
  35.  
  36. camera {
  37.    location <Col6,  -3,  -350>
  38.    direction <0, 0, 5.5>
  39.    look_at <Col6, -3, 0>
  40. }
  41.  
  42. light_source {<-500, 500, -1500> color White}
  43.  
  44.  
  45. default {
  46.    finish {
  47.       phong 1 phong_size 100
  48.       ambient .15
  49.       diffuse .7
  50.    }
  51. }
  52.  
  53. #declare Dist = -4;
  54. #declare Radius = 3;
  55.  
  56. plane {
  57.   z,3.1
  58.   pigment {White}
  59.   hollow  // Works the same as "hollow on"
  60. }
  61.  
  62. sphere {  
  63.   <Col0, Row1, Dist>, Radius 
  64.   pigment {Gray05}
  65. }
  66.  
  67. sphere {
  68.   <Col1, Row1, Dist>, Radius
  69.    pigment {Gray10}
  70. }
  71.  
  72. sphere {
  73.   <Col2, Row1, Dist>, Radius
  74.    pigment {Gray15}
  75. }
  76.  
  77. sphere {
  78.   <Col3, Row1, Dist>, Radius
  79.    pigment {Gray20}
  80. }
  81.  
  82. sphere {
  83.   <Col4, Row1, Dist>, Radius
  84.    pigment {Gray25}
  85. }
  86.  
  87. sphere {
  88.   <Col5, Row1, Dist>, Radius
  89.    pigment {Gray30}
  90. }
  91.  
  92. sphere {
  93.   <Col6, Row1, Dist>, Radius
  94.    pigment {Gray35}
  95. }
  96.  
  97. sphere {
  98.   <Col7, Row1, Dist>, Radius
  99.    pigment {Gray40}
  100. }
  101.  
  102. sphere {
  103.   <Col8, Row1, Dist>, Radius
  104.    pigment {Gray45}
  105. }
  106.  
  107. sphere {
  108.   <Col9, Row1, Dist>, Radius
  109.    pigment {Gray50}
  110. }
  111.  
  112. sphere {
  113.   <Col10, Row1, Dist>, Radius
  114.    pigment {Gray55}
  115. }
  116.  
  117. sphere {
  118.   <Col11, Row1, Dist>, Radius
  119.    pigment {Gray60}
  120. }
  121.  
  122. sphere {
  123.   <Col12, Row1, Dist>, Radius
  124.    pigment {Gray65}
  125. }
  126.  
  127. sphere {
  128.   <Col0, Row2, Dist>, Radius
  129.    pigment {Gray70}
  130. }
  131.  
  132. sphere {
  133.   <Col1, Row2, Dist>, Radius
  134.    pigment {Gray75}
  135. }
  136.  
  137. sphere {
  138.   <Col2, Row2, Dist>, Radius
  139.    pigment {Gray80}
  140. }
  141.  
  142. sphere {
  143.   <Col3, Row2, Dist>, Radius
  144.    pigment {Gray85}
  145. }
  146.  
  147. sphere {
  148.   <Col4, Row2, Dist>, Radius
  149.    pigment {Gray90}
  150. }
  151.  
  152. sphere {
  153.   <Col5, Row2, Dist>, Radius
  154.    pigment {Gray95}
  155. }
  156.  
  157. sphere {
  158.   <Col6, Row2, Dist>, Radius
  159.    pigment {DimGray}
  160. }
  161.  
  162. sphere {
  163.   <Col7, Row2, Dist>, Radius
  164.    pigment {Grey}
  165. }
  166.  
  167. sphere {
  168.   <Col8, Row2, Dist>, Radius
  169.    pigment {LightGrey}
  170. }
  171.  
  172. sphere {
  173.   <Col9, Row2, Dist>, Radius
  174.    pigment {VLightGrey}
  175. }
  176.  
  177. sphere {
  178.   <Col10, Row2, Dist>, Radius
  179.    pigment {Clear}
  180. }
  181.  
  182. sphere {
  183.   <Col11, Row2, Dist>, Radius
  184.    pigment {White}
  185. }
  186.  
  187. sphere {
  188.   <Col12, Row2, Dist>, Radius
  189.    pigment {Red}
  190. }
  191.  
  192. sphere {
  193.   <Col0, Row3, Dist>, Radius
  194.    pigment {Green}
  195. }
  196.  
  197. sphere {
  198.   <Col1, Row3, Dist>, Radius
  199.    pigment {Blue}
  200. }
  201.  
  202. sphere {
  203.   <Col2, Row3, Dist>, Radius
  204.    pigment {Yellow}
  205. }
  206.  
  207. sphere {
  208.   <Col3, Row3, Dist>, Radius
  209.    pigment {Cyan}
  210. }
  211.  
  212. sphere {
  213.   <Col4, Row3, Dist>, Radius
  214.    pigment {Magenta}
  215. }
  216.  
  217. sphere {
  218.   <Col5, Row3, Dist>, Radius
  219.    pigment {Black}
  220. }
  221.  
  222. sphere {
  223.   <Col6, Row3, Dist>, Radius
  224.    pigment {Aquamarine}
  225. }
  226.  
  227. sphere {
  228.   <Col7, Row3, Dist>, Radius
  229.    pigment {BlueViolet}
  230. }
  231.  
  232. sphere {
  233.   <Col8, Row3, Dist>, Radius
  234.    pigment {Brown}
  235. }
  236.  
  237. sphere {
  238.   <Col9, Row3, Dist>, Radius
  239.    pigment {CadetBlue}
  240. }
  241.  
  242. sphere {
  243.   <Col10, Row3, Dist>, Radius
  244.    pigment {Coral}
  245. }
  246.  
  247. sphere {
  248.   <Col11, Row3, Dist>, Radius
  249.    pigment {CornflowerBlue}
  250. }
  251.  
  252. sphere {
  253.   <Col12, Row3, Dist>, Radius
  254.    pigment {DarkGreen}
  255. }
  256.  
  257. sphere {
  258.   <Col0, Row4, Dist>, Radius
  259.    pigment {DarkOliveGreen}
  260. }
  261.  
  262. sphere {
  263.   <Col1, Row4, Dist>, Radius
  264.    pigment {DarkOrchid}
  265. }
  266.  
  267. sphere {
  268.   <Col2, Row4, Dist>, Radius
  269.    pigment {DarkSlateBlue}
  270. }
  271.  
  272. sphere {
  273.   <Col3, Row4, Dist>, Radius
  274.    pigment {DarkSlateGrey}
  275. }
  276.  
  277. sphere {
  278.   <Col4, Row4, Dist>, Radius
  279.    pigment {DarkTurquoise}
  280. }
  281.  
  282. sphere {
  283.   <Col5, Row4, Dist>, Radius
  284.    pigment {Firebrick}
  285. }
  286.  
  287. sphere {
  288.   <Col6, Row4, Dist>, Radius
  289.    pigment {ForestGreen}
  290. }
  291.  
  292. sphere {
  293.   <Col7, Row4, Dist>, Radius
  294.    pigment {Gold}
  295. }
  296.  
  297. sphere {
  298.   <Col8, Row4, Dist>, Radius
  299.    pigment {Goldenrod}
  300. }
  301.  
  302. sphere {
  303.   <Col9, Row4, Dist>, Radius
  304.    pigment {GreenYellow}
  305. }
  306.  
  307. sphere {
  308.   <Col10, Row4, Dist>, Radius
  309.    pigment {IndianRed}
  310. }
  311.  
  312. sphere {
  313.   <Col11, Row4, Dist>, Radius
  314.    pigment {Khaki}
  315. }
  316.  
  317. sphere {
  318.   <Col12, Row4, Dist>, Radius
  319.    pigment {LightBlue}
  320. }
  321.  
  322. sphere {
  323.   <Col0, Row5, Dist>, Radius
  324.    pigment {LightSteelBlue}
  325. }
  326.  
  327. sphere {
  328.   <Col1, Row5, Dist>, Radius
  329.    pigment {LimeGreen}
  330. }
  331.  
  332. sphere {
  333.   <Col2, Row5, Dist>, Radius
  334.    pigment {Maroon}
  335. }
  336.  
  337. sphere {
  338.   <Col3, Row5, Dist>, Radius
  339.    pigment {MediumAquamarine}
  340. }
  341.  
  342. sphere {
  343.   <Col4, Row5, Dist>, Radius
  344.    pigment {MediumBlue}
  345. }
  346.  
  347. sphere {
  348.   <Col5, Row5, Dist>, Radius
  349.    pigment {MediumForestGreen}
  350. }
  351.  
  352. sphere {
  353.   <Col6, Row5, Dist>, Radius
  354.    pigment {MediumGoldenrod}
  355. }
  356.  
  357. sphere {
  358.   <Col7, Row5, Dist>, Radius
  359.    pigment {MediumOrchid}
  360. }
  361.  
  362. sphere {
  363.   <Col8, Row5, Dist>, Radius
  364.    pigment {MediumSeaGreen}
  365. }
  366.  
  367. sphere {
  368.   <Col9, Row5, Dist>, Radius
  369.    pigment {MediumSlateBlue}
  370. }
  371.  
  372. sphere {
  373.   <Col10, Row5, Dist>, Radius
  374.    pigment {MediumSpringGreen}
  375. }
  376.  
  377. sphere {
  378.   <Col11, Row5, Dist>, Radius
  379.    pigment {MediumTurquoise}
  380. }
  381.  
  382. sphere {
  383.   <Col12, Row5, Dist>, Radius
  384.    pigment {MediumVioletRed}
  385. }
  386.  
  387. sphere {
  388.   <Col0, Row6, Dist>, Radius
  389.    pigment {MidnightBlue}
  390. }
  391.  
  392. sphere {
  393.   <Col1, Row6, Dist>, Radius
  394.    pigment {Navy}
  395. }
  396.  
  397. sphere {
  398.   <Col2, Row6, Dist>, Radius
  399.    pigment {NavyBlue}
  400. }
  401.  
  402. sphere {
  403.   <Col3, Row6, Dist>, Radius
  404.    pigment {Orange}
  405. }
  406.  
  407. sphere {
  408.   <Col4, Row6, Dist>, Radius
  409.    pigment {OrangeRed}
  410. }
  411.  
  412. sphere {
  413.   <Col5, Row6, Dist>, Radius
  414.    pigment {Orchid}
  415. }
  416.  
  417. sphere {
  418.   <Col6, Row6, Dist>, Radius
  419.    pigment {PaleGreen}
  420. }
  421.  
  422. sphere {
  423.   <Col7, Row6, Dist>, Radius
  424.    pigment {Pink}
  425. }
  426.  
  427. sphere {
  428.   <Col8, Row6, Dist>, Radius
  429.    pigment {Plum}
  430. }
  431.  
  432. sphere {
  433.   <Col9, Row6, Dist>, Radius
  434.    pigment {Salmon}
  435. }
  436.  
  437. sphere {
  438.   <Col10, Row6, Dist>, Radius
  439.    pigment {SeaGreen}
  440. }
  441.  
  442. sphere {
  443.   <Col11, Row6, Dist>, Radius
  444.    pigment {Sienna}
  445. }
  446.  
  447. sphere {
  448.   <Col12, Row6, Dist>, Radius
  449.    pigment {SkyBlue}
  450. }
  451.  
  452. sphere {
  453.   <Col0, Row7, Dist>, Radius
  454.    pigment {SlateBlue}
  455. }
  456.  
  457. sphere {
  458.   <Col1, Row7, Dist>, Radius
  459.    pigment {SpringGreen}
  460. }
  461.  
  462. sphere {
  463.   <Col2, Row7, Dist>, Radius
  464.    pigment {SteelBlue}
  465. }
  466.  
  467. sphere {
  468.   <Col3, Row7, Dist>, Radius
  469.    pigment {Tan}
  470. }
  471.  
  472. sphere {
  473.   <Col4, Row7, Dist>, Radius
  474.    pigment {Thistle}
  475. }
  476.  
  477. sphere {
  478.   <Col5, Row7, Dist>, Radius
  479.    pigment {Turquoise}
  480. }
  481.  
  482. sphere {
  483.   <Col6, Row7, Dist>, Radius
  484.    pigment {Violet}
  485. }
  486.  
  487. sphere {
  488.   <Col7, Row7, Dist>, Radius
  489.    pigment {VioletRed}
  490. }
  491.  
  492. sphere {
  493.   <Col8, Row7, Dist>, Radius
  494.    pigment {Wheat}
  495. }
  496.  
  497. sphere {
  498.   <Col9, Row7, Dist>, Radius
  499.    pigment {YellowGreen}
  500. }
  501.  
  502. sphere {
  503.   <Col10, Row7, Dist>, Radius
  504.    pigment {SummerSky}
  505. }
  506.  
  507. sphere {
  508.   <Col11, Row7, Dist>, Radius
  509.    pigment {RichBlue}
  510. }
  511.  
  512. sphere {
  513.   <Col12, Row7, Dist>, Radius
  514.    pigment {Brass}
  515. }
  516.  
  517. sphere {
  518.   <Col0, Row8, Dist>, Radius
  519.    pigment {Copper}
  520. }
  521.  
  522. sphere {
  523.   <Col1, Row8, Dist>, Radius
  524.    pigment {Bronze}
  525. }
  526.  
  527. sphere {
  528.   <Col2, Row8, Dist>, Radius
  529.    pigment {Bronze2}
  530. }
  531.  
  532. sphere {
  533.   <Col3, Row8, Dist>, Radius
  534.    pigment {Silver}
  535. }
  536.  
  537. sphere {
  538.   <Col4, Row8, Dist>, Radius
  539.    pigment {BrightGold}
  540. }
  541.  
  542. sphere {
  543.   <Col5, Row8, Dist>, Radius
  544.    pigment {OldGold}
  545. }
  546.  
  547. sphere {
  548.   <Col6, Row8, Dist>, Radius
  549.    pigment {Feldspar}
  550. }
  551.  
  552. sphere {
  553.   <Col7, Row8, Dist>, Radius
  554.    pigment {Quartz}
  555. }
  556.  
  557. sphere {
  558.   <Col8, Row8, Dist>, Radius
  559.    pigment {Mica}
  560. }
  561.  
  562. sphere {
  563.   <Col9, Row8, Dist>, Radius
  564.    pigment {NeonPink}
  565. }
  566.  
  567. sphere {
  568.   <Col10, Row8, Dist>, Radius
  569.    pigment {DarkPurple}
  570. }
  571.  
  572. sphere {
  573.   <Col11, Row8, Dist>, Radius
  574.    pigment {NeonBlue}
  575. }
  576.  
  577. sphere {
  578.   <Col12, Row8, Dist>, Radius
  579.    pigment {CoolCopper}
  580. }
  581.  
  582. sphere {
  583.   <Col0, Row9, Dist>, Radius
  584.    pigment {MandarinOrange}
  585. }
  586.  
  587. sphere {
  588.   <Col1, Row9, Dist>, Radius
  589.    pigment {LightWood}
  590. }
  591.  
  592. sphere {
  593.   <Col2, Row9, Dist>, Radius
  594.    pigment {MediumWood}
  595. }
  596.  
  597. sphere {
  598.   <Col3, Row9, Dist>, Radius
  599.     pigment {DarkWood}
  600. }
  601.  
  602. sphere {
  603.   <Col4, Row9, Dist>, Radius
  604.     pigment {SpicyPink}
  605. }
  606.  
  607. sphere {
  608.   <Col5, Row9, Dist>, Radius
  609.     pigment {SemiSweetChoc}
  610. }
  611.  
  612. sphere {
  613.   <Col6, Row9, Dist>, Radius
  614.     pigment {BakersChoc}
  615. }
  616.  
  617. sphere {
  618.   <Col7, Row9, Dist>, Radius
  619.     pigment {Flesh}
  620. }
  621.  
  622. sphere {
  623.   <Col8, Row9, Dist>, Radius
  624.     pigment {NewTan}
  625. }
  626.  
  627. sphere {
  628.   <Col9, Row9, Dist>, Radius
  629.     pigment {NewMidnightBlue}
  630. }
  631.  
  632. sphere {
  633.   <Col10, Row9, Dist>, Radius
  634.     pigment {VeryDarkBrown}
  635. }
  636.  
  637. sphere {
  638.   <Col11, Row9, Dist>, Radius
  639.     pigment {DarkBrown}
  640. }
  641.  
  642. sphere {
  643.   <Col12, Row9, Dist>, Radius
  644.     pigment {DarkTan}
  645. }
  646.  
  647. sphere {
  648.   <Col0, Row10, Dist>, Radius
  649.    pigment {GreenCopper}
  650. }
  651.  
  652. sphere {
  653.   <Col1, Row10, Dist>, Radius
  654.    pigment {DkGreenCopper}
  655. }
  656.  
  657. sphere {
  658.   <Col2, Row10, Dist>, Radius
  659.    pigment {DustyRose}
  660. }
  661.  
  662. sphere {
  663.   <Col3, Row10, Dist>, Radius
  664.     pigment {HuntersGreen}
  665. }
  666.  
  667. sphere {
  668.   <Col4, Row10, Dist>, Radius
  669.     pigment {Scarlet}
  670. }
  671. /*
  672. sphere {
  673.   <Col5, Row10, Dist>, Radius
  674.     pigment { }
  675. }
  676.  
  677. sphere {
  678.   <Col6, Row10, Dist>, Radius
  679.     pigment { }
  680. }
  681.  
  682. sphere {
  683.   <Col7, Row10, Dist>, Radius
  684.     pigment { }
  685. }
  686.  
  687. sphere {
  688.   <Col8, Row10, Dist>, Radius
  689.     pigment { }
  690. }
  691.  
  692. sphere {
  693.   <Col10, Row10, Dist>, Radius
  694.     pigment { }
  695. }
  696.  
  697. sphere {
  698.   <Col10, Row10, Dist>, Radius
  699.     pigment { }
  700. }
  701.  
  702. sphere {
  703.   <Col11, Row10, Dist>, Radius
  704.     pigment { }
  705. }
  706.  
  707. sphere {
  708.   <Col12, Row10, Dist>, Radius
  709.     pigment { }
  710. }
  711.  
  712. */
  713.